package com.dc.refactoring._6_处理概括关系._6_ExtractSubclass.step5;

public class Test {

    public static void main(String[] args){
        Employee employee = new Employee(10);

        JobItem jobItem2 = new LaborItem(0, employee);

        // 上面为子类 LaborItem 调用
        // ------------------------------------------------------------
        // 下面为子类 PartsItem 调用

        JobItem jobItem3 = new PartsItem(10, 5);

    }
}
